//
//  main.m
//  base_m_10_category
//
//  Created by China Dragon on 2023/7/8.
//
/*
 Object-C中的category的用法
 https://blog.csdn.net/JustinZYP/article/details/124170660
 
 Object-C中继承 ,分类(category)，扩展(extension)使用与区别
 https://blog.csdn.net/DARKSang/article/details/105426758
 */
#import <Foundation/Foundation.h>
#import "Student.h"
#import "Student+Test.h"
#import "NSString+Json.h"


int main(int argc, const char * argv[]) {
    @autoreleasepool {
        Student *stu = [[Student alloc]init];
//        stu.test;
        [stu test];
        //导入"Student+Test.h"
        stu.test2;
        
        //已经导入了"Student.h"，所以可以直接调用test3
        stu.test3;
        NSLog(@"%@",[NSString json]);//%@代表匹配一个对象
    }
    return 0;
}
